package com.lhz.project.system.model.vo.auth;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * 登录记录参数类
 *
 * @author LiHuaZhi
 * @since 2020-06-23 17:02:26
 */
@Data
@Schema(description = "登录日志列表")
public class LoginLogVo {

    @Schema(description = "id", requiredMode = Schema.RequiredMode.REQUIRED)
    private String id;

    @Schema(description = "用户账号", requiredMode = Schema.RequiredMode.REQUIRED)
    private String userName;

    @Schema(description = "登录IP地址", requiredMode = Schema.RequiredMode.REQUIRED)
    private String ip;

    @Schema(description = "登录地点", requiredMode = Schema.RequiredMode.REQUIRED)
    private String location;

    @Schema(description = "浏览器类型", requiredMode = Schema.RequiredMode.REQUIRED)
    private String browser;

    @Schema(description = "操作系统", requiredMode = Schema.RequiredMode.REQUIRED)
    private String os;

    @Schema(description = "登录信息", requiredMode = Schema.RequiredMode.REQUIRED)
    private String msg;

    @Schema(description = "登录状态", requiredMode = Schema.RequiredMode.REQUIRED)
    private Integer status;

    @Schema(description = "登录时间", requiredMode = Schema.RequiredMode.REQUIRED)
    private LocalDateTime loginTime;

}